<template>
  <div>
      <h1>动物(Animal)</h1>
      <p>name: {{ name }}</p>
      <!-- 路由出口 -->
      <router-view></router-view>
  </div>
</template>

<script>
/* eslint-disable */
export default {
    name: 'Animal' ,
    // $route.query.name
    props: [ 'name' ]
}
</script>

<style>

</style>